home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / By the Book / Mac C Primer V2 / 6.1 - MyStarter / Starter.c < prev    next >
C/C++ Source or Header  |  1990-09-04  |  832b  |  36 lines

  1. /************************************************************/
  2. /*                                                            */
  3. /*    Starter Code from Chapter Six of                        */
  4. /*                                                            */
  5. /*        *** The Macintosh Programming Primer ***            */
  6. /*                                                            */
  7. /*    Copyright 1990, Dave Mark                                */
  8. /*                                                            */
  9. /*    This program demonstrates specific Mac programming        */
  10. /*    techniques.                                                */
  11. /*                                                            */
  12. /************************************************************/
  13.  
  14. /*****
  15.  * Starter.c
  16.  *
  17.  *    A starter main file for writing programs with the
  18.  *    THINK Class Library
  19.  *
  20.  *  Copyright © 1990 Symantec Corporation.  All rights reserved.
  21.  *
  22.  *****/
  23.  
  24. #include "CStarterApp.h"
  25.  
  26. extern    CApplication    *gApplication;
  27.  
  28. void main()
  29.  
  30. {
  31.     gApplication = new(CStarterApp);
  32.     ((CStarterApp *)gApplication)->IStarterApp();
  33.     gApplication->Run();
  34.     gApplication->Exit();
  35. }
  36.